#include <iostream>

using namespace std;

int max(int x,int y){
	return x>y?x:y;
	
}
double max(double x,double y){
	return x*y;
}
int max(int x,int y,int z){
	int t;
	t=max(x,y);
	t=max(t,z);
	return t;
}
int main(){
	cout<<max(4,5)<<endl;
	cout<<max(4,9,8)<<endl;
	cout<<max(4.0,5.0)<<endl;
}
/*double mypow(double x,int n){
	double result=1.0;
	for(int i=0;i<n;++i){
		result*=x;
	}
	return result;
}
int main (){
	cout<<"mypow(2,4)="<<mypow(2,4)<<endl;
	cout<<"mypow(2.5,3)="<<mypow(2.5,3)<<endl;
	cout<<"mypow(3,4)="<<mypow(3,4)<<endl;
	return 0;
}*?
/*bool isPrime(int n) {
	if(n<1){
		return false;
	}
	for(int i=2;i<n;i++)
	{
		if(n%i==0)
		{return false;
		}
	}
	return true;
}
int main(){
	int num;
	for(num=100;num<=200;num++)
	if(isPrime(num))
	{
		cout<<num<<endl;
	}
	return 0;
}*/
